﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucTourDetail.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.Tour.ucTourDetail" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<style type="text/css">
    .style2-tour-detail
    {
        color: #FF9900;
    }
    .style3-tour-detail
    {
        color: #FF3300;
    }
    .linkTestimonial
    {
        color: #000000;
        font-size: 13px;
        text-decoration: none;
    }
    .linkTestimonial:hover
    {
        text-decoration: underline;
    }
</style>

<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" /><script type="text/javascript">
    hs.graphicsDir = 'highslide/graphics/';
    hs.align = 'center';
    hs.transitions = ['expand', 'crossfade'];
    hs.outlineType = 'rounded-white';
    hs.fadeInOut = true;
    //hs.dimmingOpacity = 0.75;

    // Add the controlbar
    hs.addSlideshow({
        //slideshowGroup: 'group1',
        interval: 5000,
        repeat: false,
        useControls: true,
        fixedControls: 'fit',
        overlayOptions: {
            opacity: 0.75,
            position: 'bottom center',
            hideOnMouseOut: true
        }
    });
</script>
<div>
    <div>
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></div>
    <div>
        <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1">
        <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="demo">
                <ContentTemplate>
                    
                </ContentTemplate>
            </asp:TabPanel>
            <asp:TabPanel ID="TabPanel1" runat="server" HeaderText="Gallery">
                <ContentTemplate>
                    <div id="galleryBox1">
                        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetByTour"
                            TypeName="IOBusiness.clsBSHinhAnh">
                            <SelectParameters>
                                <asp:QueryStringParameter Name="tourid" QueryStringField="id" Type="Int32" />
                            </SelectParameters>
                        </asp:ObjectDataSource>
                        <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1" RepeatColumns="3"
                            RepeatDirection="Horizontal" Width="100%">
                            <ItemTemplate>
                                <a href='<%# "Images/HinhAnh/"+Eval("Url") %>' class="highslide" onclick="return hs.expand(this)">
                                    <img src='<%# "Images/HinhAnh/"+Eval("Url") %>' alt="" style="height: 116px; width: 193px" /></a>
                                    <div class="highslide-caption">
	
</div>
                                <br />
                                <br />
                            </ItemTemplate>
                        </asp:DataList>
                    </div>
                </ContentTemplate>
            </asp:TabPanel>
            <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Book this Tour">
                <ContentTemplate>
                    <table width="100%">
                        <tr>
                            <td colspan="2" align="center">
                                <asp:Label ID="lblTour" runat="server" Text="Label" Style="font-weight: 700; color: #009900"></asp:Label>
                                <br />
                                <span class="style2-tour-detail">Your information will be secured strictly! </span>
                            </td>
                        </tr>
                        <tr>
                            <td width="30%">
                                Full name as printed on passport:
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList1" runat="server">
                                    <asp:ListItem>Mr.</asp:ListItem>
                                    <asp:ListItem>Prof.</asp:ListItem>
                                    <asp:ListItem>Dr.</asp:ListItem>
                                    <asp:ListItem>Miss.</asp:ListItem>
                                    <asp:ListItem>Ms.</asp:ListItem>
                                    <asp:ListItem>Mrs.</asp:ListItem>
                                </asp:DropDownList>
                                <asp:TextBox ID="txtFullName" runat="server" ValidationGroup="1"></asp:TextBox>
                                <span class="style3">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                                    runat="server" ControlToValidate="txtFullName" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator1_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma1" Enabled="True" TargetControlID="RequiredFieldValidator1">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Email Address:
                            </td>
                            <td>
                                <asp:TextBox ID="txtEmailAddress" runat="server" Width="200px" ValidationGroup="1"></asp:TextBox>
                                <span class="style3-tour-detail">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                                    runat="server" ControlToValidate="txtEmailAddress" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator2_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma2" Enabled="True" TargetControlID="RequiredFieldValidator2">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Telephone number
                            </td>
                            <td>
                                <asp:TextBox ID="txtTelephone" runat="server" Width="200px" ValidationGroup="1"></asp:TextBox>
                                <span class="style3-tour-detail">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator4"
                                    runat="server" ControlToValidate="txtTelephone" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator4_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma3" Enabled="True" TargetControlID="RequiredFieldValidator4">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Mobile Phone number:
                            </td>
                            <td>
                                <asp:TextBox ID="txtMonbile" runat="server" Width="200px" ValidationGroup="1"></asp:TextBox>
                                <span class="style3-tour-detail">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator5"
                                    runat="server" ControlToValidate="txtMonbile" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator5_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma4" Enabled="True" TargetControlID="RequiredFieldValidator5">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <div style="border: 1px groove #000000;">
                                <table width="100%">
                                    <tr>
                                        <td>
                                            Single(s)<asp:DropDownList ID="ddlSingle" runat="server">
                                                <asp:ListItem>0</asp:ListItem>
                                                <asp:ListItem>1</asp:ListItem>
                                                <asp:ListItem>2</asp:ListItem>
                                                <asp:ListItem>3</asp:ListItem>
                                                <asp:ListItem>4</asp:ListItem>
                                                <asp:ListItem>5</asp:ListItem>
                                                <asp:ListItem>6</asp:ListItem>
                                                <asp:ListItem>7</asp:ListItem>
                                                <asp:ListItem>8</asp:ListItem>
                                                <asp:ListItem>9</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            Double(s)<asp:DropDownList ID="ddlDouble" runat="server">
                                                <asp:ListItem>0</asp:ListItem>
                                                <asp:ListItem>1</asp:ListItem>
                                                <asp:ListItem>2</asp:ListItem>
                                                <asp:ListItem>3</asp:ListItem>
                                                <asp:ListItem>4</asp:ListItem>
                                                <asp:ListItem>5</asp:ListItem>
                                                <asp:ListItem>6</asp:ListItem>
                                                <asp:ListItem>7</asp:ListItem>
                                                <asp:ListItem>8</asp:ListItem>
                                                <asp:ListItem>9</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            Twin(s)<asp:DropDownList ID="ddlTwin" runat="server">
                                                <asp:ListItem>0</asp:ListItem>
                                                <asp:ListItem>1</asp:ListItem>
                                                <asp:ListItem>2</asp:ListItem>
                                                <asp:ListItem>3</asp:ListItem>
                                                <asp:ListItem>4</asp:ListItem>
                                                <asp:ListItem>5</asp:ListItem>
                                                <asp:ListItem>6</asp:ListItem>
                                                <asp:ListItem>7</asp:ListItem>
                                                <asp:ListItem>8</asp:ListItem>
                                                <asp:ListItem>9</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:DropDownList ID="ddlAll" runat="server">
                                                <asp:ListItem>All Roomtypes</asp:ListItem>
                                                <asp:ListItem>Suite</asp:ListItem>
                                                <asp:ListItem>Deluxe</asp:ListItem>
                                                <asp:ListItem>Superior</asp:ListItem>
                                                <asp:ListItem>Standard</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:DropDownList ID="ddlAdults" runat="server">
                                                <asp:ListItem>1</asp:ListItem>
                                                <asp:ListItem>2</asp:ListItem>
                                                <asp:ListItem>3</asp:ListItem>
                                                <asp:ListItem>4</asp:ListItem>
                                                <asp:ListItem>5</asp:ListItem>
                                                <asp:ListItem>6</asp:ListItem>
                                                <asp:ListItem>7</asp:ListItem>
                                                <asp:ListItem>8</asp:ListItem>
                                                <asp:ListItem>9</asp:ListItem>
                                            </asp:DropDownList>
                                            &nbsp;Adults</td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="ddlChild1" runat="server">
                                                <asp:ListItem>0</asp:ListItem>
                                                <asp:ListItem>1</asp:ListItem>
                                                <asp:ListItem>2</asp:ListItem>
                                                <asp:ListItem>3</asp:ListItem>
                                                <asp:ListItem>4</asp:ListItem>
                                                <asp:ListItem>5</asp:ListItem>
                                                <asp:ListItem>6</asp:ListItem>
                                                <asp:ListItem>7</asp:ListItem>
                                                <asp:ListItem>8</asp:ListItem>
                                                <asp:ListItem>9</asp:ListItem>
                                            </asp:DropDownList>
                                            &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Children (&lt; 6 years 
                                            old)</font>
                                            <br />
                                            <asp:DropDownList ID="ddlChild2" runat="server">
                                                <asp:ListItem>0</asp:ListItem>
                                                <asp:ListItem>1</asp:ListItem>
                                                <asp:ListItem>2</asp:ListItem>
                                                <asp:ListItem>3</asp:ListItem>
                                                <asp:ListItem>4</asp:ListItem>
                                                <asp:ListItem>5</asp:ListItem>
                                                <asp:ListItem>6</asp:ListItem>
                                                <asp:ListItem>7</asp:ListItem>
                                                <asp:ListItem>8</asp:ListItem>
                                                <asp:ListItem>9</asp:ListItem>
                                            </asp:DropDownList>
                                            &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Children (6 -12 
                                            years old)</font>&nbsp;
                                            <br />
                                            <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
                                            <asp:DropDownList ID="ddlChild3" runat="server">
                                                <asp:ListItem>0</asp:ListItem>
                                                <asp:ListItem>1</asp:ListItem>
                                                <asp:ListItem>2</asp:ListItem>
                                                <asp:ListItem>3</asp:ListItem>
                                                <asp:ListItem>4</asp:ListItem>
                                                <asp:ListItem>5</asp:ListItem>
                                                <asp:ListItem>6</asp:ListItem>
                                                <asp:ListItem>7</asp:ListItem>
                                                <asp:ListItem>8</asp:ListItem>
                                                <asp:ListItem>9</asp:ListItem>
                                            </asp:DropDownList>
                                            Children (&gt; 12 years old)</font></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <font face="Verdana, Arial, Helvetica, sans-serif" size="2">Check In From :</font></td>
                                        <td colspan="2">
                                            <asp:TextBox ID="txtCheckFrom" runat="server"></asp:TextBox>
                                            <asp:CalendarExtender ID="txtCheckFrom_CalendarExtender" runat="server" 
                                                Enabled="True" TargetControlID="txtCheckFrom">
                                            </asp:CalendarExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <font face="Verdana, Arial, Helvetica, sans-serif" size="2">Check Out On :</font></td>
                                        <td colspan="2">
                                            <asp:TextBox ID="txtCheckOn" runat="server"></asp:TextBox>
                                            <asp:CalendarExtender ID="txtCheckOn_CalendarExtender" runat="server" 
                                                Enabled="True" TargetControlID="txtCheckOn">
                                            </asp:CalendarExtender>
                                        </td>
                                    </tr>
                                </table>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Special Request:&nbsp;</td>
                            <td>
                                <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine" Width="200px" ValidationGroup="1"></asp:TextBox>
                                <span class="style3-tour-detail">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator6"
                                    runat="server" ControlToValidate="txtAddress" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator6_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma5" Enabled="True" TargetControlID="RequiredFieldValidator6">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Country:
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlContry" runat="server" Width="200px" ValidationGroup="1">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Submit" ValidationGroup="1" />
                                &nbsp;
                                <input id="Reset1" type="reset" value="Reset" />
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:TabPanel>
        </asp:TabContainer>
        <br />
    </div>
    <div>
        <strong>More:<br />
        </strong>
        <asp:DataList ID="DataList2" runat="server" Width="100%">
            <ItemTemplate>
                <table style="width: 100%;">
                    <tr>
                        <td style="width: 16px; vertical-align: top">
                            <img alt="tab" class="tab" src="../../Styles/Images/tab_right.png" />
                        </td>
                        <td style="vertical-align: top">
                            <asp:HyperLink ID="linkTestimonial" CssClass="linkTestimonial" runat="server" NavigateUrl='<%# Eval("ID", "~/CruisesDetail.aspx?ID={0}&TL=").ToString() + Eval("TheLoai.Id") %>'><%# Eval("TieuDe")%></asp:HyperLink>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList>
    </div>
</div>
